package com.qj.daibei.service.impl;

import com.qj.daibei.mapper.BankMapper;
import com.qj.daibei.pojo.Bank;
import com.qj.daibei.service.BankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author wml
 * Created on 2021/10/4 21:31
 */
@Service
public class BankServiceImpl implements BankService {

    @Autowired
    private BankMapper bankMapper;

    @Override
    public List<Bank> queryBank() {
        return this.bankMapper.selectList(null);
    }
}
